package com.xcx.eduservice.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xcx.commonuntils.returnuntls.ReturnMessage;
import com.xcx.eduservice.entity.aclentity.User;
import com.xcx.eduservice.request.aclrequest.userrequest.AddUseRequest;
import com.xcx.eduservice.request.aclrequest.userrequest.UserGetProcessionRequest;
import com.xcx.eduservice.request.aclrequest.userrequest.UserQueryList;
import com.xcx.eduservice.request.aclrequest.userrequest.UserUpdateRequest;
import com.xcx.eduservice.response.AssignResponse;


/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author testjava
 * @since 2020-01-12
 */
public interface UserService extends IService<User> {

    ReturnMessage<User> addUserByAdmin(AddUseRequest addUseRequest);

    ReturnMessage<User> updateUser(UserUpdateRequest respVo);

    ReturnMessage<Object> quaryList(UserQueryList respVo);

    ReturnMessage<AssignResponse> toAssign(UserGetProcessionRequest respVo);


    // 从数据库中取出用户信息
//    User selectByUsername(String username);
}
